import os
import tkinter as tk

win = tk.Tk()
win.title("Krita Mod")
win.geometry("220x97")
win.resizable(False, False)

label_1 = tk.Label(win, text="Выберите редактор")

gimp_text = tk.Label(win, text="GIMP Запущен!")
krita_text = tk.Label(win, text="Krita Запущена!")

def gimp():
    os.startfile("D:/Program Files/GIMP 2/bin/gimp-2.10.exe")
    gimp_text.pack()
    
def krita():
    os.startfile("C:/Program Files (x86)/Steam/steamapps/common/Krita/krita/bin/kritamod.exe")
    krita_text.pack()

gimp_btn = tk.Button(
    win,
    text="                            GIMP                            ",
    command=gimp
)

krita_btn = tk.Button(
    win,
    text="                             Krita                             ",
    command=krita
)

label_1.pack()

gimp_btn.pack()
krita_btn.pack()

win.mainloop()
